home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / GopherTools / jughead / jughead.0.9 / utils.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-11  |  1.7 KB  |  57 lines

  1. /*****************************************************************************
  2.  * File:    utils.h
  3.  *
  4.  * Author:    Rhett "Jonzy" Jones
  5.  *        jonzy@cc.utah.edu
  6.  *
  7.  * Date:    March 6, 1993
  8.  *
  9.  * Modifed:    March 28, 1993, by Rhett "Jonzy" Jones.
  10.  *        Added ifdef sun then don't use prototypes.
  11.  *
  12.  *        March 30, 1993, by Rhett "Jonzy" Jones.
  13.  *        Added the use of USEPROTOTYPES and added the
  14.  *        delcaration for Mysprint().
  15.  *
  16.  *        Added the declaration and prototype for NumberOfLines().
  17.  *
  18.  * Description:    Header file for use with "utils.c".
  19.  *
  20.  * Bugs:    No known bugs.
  21.  *
  22.  * Copyright:    Copyright 1993, University of Utah Computer Center.
  23.  *        This source may be freely distributed as long as this copyright
  24.  *         notice remains intact, and is in no way used for any monetary
  25.  *         gain, by any institution, business, person, or persons.
  26.  *
  27.  ****************************************************************************/
  28.  
  29. #ifdef USEPROTOTYPES
  30.     extern long    NumberOfLines(char *fileName);
  31.     extern char    *StrToLower(char *str);
  32.     extern long    GetLong(FILE *fp);
  33.     extern int    GetInt(FILE *fp);
  34.     extern char    *GetStr(FILE *fp,char *str,int limit);
  35.     extern int    Str2Int(char *s);
  36.     extern char    *Reverse(char *s, char *r);
  37.     extern short    StrRcmp(char *s1, char *s2);
  38.     extern char    *Mysprint(char *format,...);
  39.     extern int    DoSystemCall(char *command);
  40.     extern char    *MyStrTok(char *str,char delimeter);
  41.     extern char    *OnlyDigits(char *s);
  42.     extern char    *RemoveCRLF(char *line);
  43. #else
  44.     extern long    NumberOfLines();
  45.     extern char    *StrToLower();
  46.     extern long    GetLong();
  47.     extern int    GetInt();
  48.     extern char    *GetStr();
  49.     extern int    Str2Int();
  50.     extern char    *Reverse();
  51.     extern short    StrRcmp();
  52.     extern char    *Mysprint();
  53.     extern int    DoSystemCall();
  54.     extern char    *MyStrTok();
  55.     extern char    *OnlyDigits();
  56.     extern char    *RemoveCRLF();
  57. #endif